/status/system/interface/<intf_name>/carp//state¶
Use
Use to view the current CARP state of the interface: initial, backup, or master.
Parameters¶
intf_name: Name of interface
vhid: Virtual Host ID (VHID) used to identify the CARP group
Data Key¶
The data key contains one of the values defined below in Data Values.
Data Type¶
uint32
Default Data Value¶
0
Request Methods¶
GET
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interface/em1/carp/1/state
GET Response
{"/status/system/interface/em1/carp/1/state": {"data": 0,
"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "uint32"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/status/system/interface/em1/carp/1/state"}
- /status/system/interface/<intf_name>/carp/
/state 1. Parameters 2. Data Key - Data Type
- Data Values
- Default Data Value 3. Request Methods 4. Related 5. Examples